package com.ssy.lingxi.order.model.vo.im.request;

import com.ssy.lingxi.common.model.vo.PageVO;
import com.ssy.lingxi.order.handler.annotation.OrderTypeAnnotation;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
* 在线IM获取用户订单列表
* @author 万宁
* @date 2021-07-15
*/
public class ImOrderPageVO extends PageVO implements Serializable {
    private static final long serialVersionUID = 4811695315944336573L;
    /**
     * 对方会员ID
     */
    @NotNull(message = "会员Id要大于0")
    @Positive(message = "会员Id要大于0")
    private Long  memberId;

    /**
     * 对方用户Id
     */
    @NotNull(message = "对方用户Id要大于0")
    @Positive(message = "对方用户Id要大于0")
    private Long  userId;

    /**
     * 订单类型
     */
    @OrderTypeAnnotation
    private Integer orderType;

    /**
     * 订单号
     */
    private String orderNo;

    /**
     * 订单摘要
     */
    private String digest;

    /**
     * 下单开始时间，格式为 yyyy-MM-dd
     */
    private String startDay;

    /**
     * 下单结束时间，格式为 yyyy-MM-dd
     */
    private String endDay;

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getDigest() {
        return digest;
    }

    public void setDigest(String digest) {
        this.digest = digest;
    }

    public String getStartDay() {
        return startDay;
    }

    public void setStartDay(String startDay) {
        this.startDay = startDay;
    }

    public String getEndDay() {
        return endDay;
    }

    public void setEndDay(String endDay) {
        this.endDay = endDay;
    }
}
